package com.bosssoft.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bosssoft.entity.dto.FibDepartmentDTO;
import com.bosssoft.entity.dto.FibFiscalDTO;
import com.bosssoft.entity.po.FibAccountPO;
import com.bosssoft.entity.po.FibFiscalPO;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bosssoft.page.PageResult;
import org.springframework.stereotype.Service;

/**
 * @author Li kexi
 * Created on 2021/8/16.14:30
 */
@Service
public interface FibFiscalService extends IService<FibFiscalPO>{

    PageResult<FibFiscalPO> page(Page<FibFiscalPO> page, FibFiscalPO fibFiscalPO);

    FibFiscalDTO selectOneById(Long id);

    List<FibFiscalDTO> selectAll(Long page, Long limit);

    //TODO 分页
    boolean delete(FibFiscalDTO fibFiscalDTO);

    boolean insert(FibFiscalDTO fibFiscalDTO);

    boolean update(FibFiscalDTO fibFiscalDTO);

    boolean updateDeleted(FibFiscalDTO fibFiscalDTO);

    boolean selectDeleted(Long id);
}
